import requests

class loginAPI():
    def __init__(self):
        self.urla = "https://ihrm-java.itheima.net/api/sys/login"

    def login(self, login_data):

        return requests.post(url=self.urla, json=login_data, verify=False)